<ui:composition xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.prime.com.tr/ui">
	<p:dialog closeOnEscape="true" header="#{msgs.diagramVisualization}" id="dialogVariantDiagramFullScreen" modal="true" resizable="false" widgetVar="dialogVariantDiagramFullScreen" width="1434">
		<h:form id="dialogVariantDiagramFullScreenForm" styleClass="center">
			<p:graphicImage id="fullVariantImage" styleClass="diagramImage" value="#{hierarchyVisualisationController.fullVariantDiagram}">
				<f:param name="timestamp" value="#{sessionController.currentTimestamp}"/>
			</p:graphicImage>
			<h:panelGrid columns="1" styleClass="center container width100">
				<h:panelGroup>
				<h:outputText value="#{msgs.algorithm}: " />
				<h:selectOneMenu id="inputAlgorithm" value="#{hierarchyVisualisationController.currentVariantAlgorithm}" >
					<f:selectItems value="#{hierarchyVisualisationController.drawingAlgorithmsAsSelectItem}" />
				</h:selectOneMenu>
				<p:outputPanel layout="block" styleClass="buttonContainer">
					<p:commandButton actionListener="#{hierarchyVisualisationController.onFullVariantDrawing}" ajax="true" image="ui-icon ui-icon-pencil" process="@this dialogVariantDiagramFullScreenForm:inputAlgorithm dialogVariantDiagramFullScreenForm:fullVariantImage" update="@form" value="#{msgs.draw}" />
					<p:commandButton image="ui-icon ui-icon-circle-close" process="@this" onclick="dialogVariantDiagramFullScreen.hide()" type="button" value="#{msgs.close}"/>
				</p:outputPanel>
				</h:panelGroup>
			</h:panelGrid>
		</h:form>
	</p:dialog>
</ui:composition>